package vip.xiaonuo.supplier.modular.base.delivery.param;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 发货方式编辑参数
 *
 * @author Mr.wu
 * @date  2025/03/15 19:07
 **/
@Getter
@Setter
public class SupplierDeliveryEditParam {

    /** 发货方式ID */
    @Schema(description = "发货方式ID", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "id不能为空")
    private String id;

    /** 发货方式 */
    @Schema(description = "发货方式", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "delivery不能为空")
    private String delivery;

    /** 排序码 */
    @Schema(description = "排序码", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "sortCode不能为空")
    private Integer sortCode;

    /** 扩展信息 */
    @Schema(description = "扩展信息")
    private String extJson;

}
